<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/10
  Time: 14:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
</head>
<body>
<form method="post" action="/student/add" enctype="multipart/form-data">
    <table border="1">
        <tr><td>学号：</td><td><input type="text" name="sno" required></td></tr>
        <tr><td>姓名：</td><td><input type="text" name="sname" required></td></tr>
        <tr><td>性别：</td><td><input type="text" name="gender" required></td></tr>
        <tr><td>生日：</td><td><input type="text" name="birthday" required></td></tr>
        <tr><td>专业：</td><td><input type="text" name="major" required></td></tr>
        <tr><td>图片：</td><td><input type="file" name="upload" required></td></tr>
        <tr><td colspan="2"><input type="submit" value="添加"></td> </tr>

    </table>
</form>
</body>
</html>
